package com.dao.impl;

import com.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserDaoImpl implements UserDao {
    @Autowired
    UserDao userDao;


    @Override
    public boolean login(String username, String password) {
        return userDao.login(username, password);
    }
}
